﻿//using com.guojin.core.io.message;
//using com.guojin.mj.net.message.login;
//using System;
//using System.Collections;
//using System.Collections.Generic;
//using UnityEngine;
//using UnityEngine.UI;

//public class ReplaceCreatRoomPage : EventManager {

//    public Button closeBtn;
//    public GameObject content;

//    private static ReplaceCreatRoomPage instance;
//    public static ReplaceCreatRoomPage GetInstance()      
//    {
//        return instance;
//    }
//    void Awake()
//    {
//        instance = this;
//    }

//    void Start()
//    {
//        closeBtn.onClick.RemoveAllListeners();
//        closeBtn.onClick.AddListener(CloseBtnClick);
//    }

//    public override void InformationSetting()
//    {
//    }

//    public void OnReceive738(string msg, Message data)
//    {
//        SHReplaceCreatRoomListRet rcrl = (SHReplaceCreatRoomListRet)data;
//        if (rcrl == null)
//        {
//            TooL.ShowNoticePage("当前没有代开房房间！");
//        }
//        else if (rcrl.Rcrl.Count > 0)
//        {
//            for (int i = 0; i < rcrl.Rcrl.Count; i++)
//            {
//                GameObject obj = TooL.LoadPrefab(content, "ReplaceCreatRoomItemPage");
//                obj.GetComponent<ReplaceCreatRoomItemPage>().InitSetMsg(rcrl.Rcrl[i]);
//            }
//        }
//    }

//    public void CloseBtnClick()
//    {
//        DestroyImmediate(gameObject);
//    }
//}
